<div class="genres view">
<h2><?php  echo __('Genre'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($genre['Genre']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($genre['Genre']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($genre['Genre']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($genre['Genre']['modified']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Status'); ?></dt>
		<dd>
			<?php echo h($genre['Genre']['status']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Genre'), array('action' => 'edit', $genre['Genre']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Genre'), array('action' => 'delete', $genre['Genre']['id']), null, __('Are you sure you want to delete # %s?', $genre['Genre']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Genres'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Genre'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Animes'), array('controller' => 'animes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Anime'), array('controller' => 'animes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Mangas'), array('controller' => 'mangas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Manga'), array('controller' => 'mangas', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Animes'); ?></h3>
	<?php if (!empty($genre['Anime'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Photo'); ?></th>
		<th><?php echo __('Photo Dir'); ?></th>
		<th><?php echo __('Summary'); ?></th>
		<th><?php echo __('Observation'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($genre['Anime'] as $anime): ?>
		<tr>
			<td><?php echo $anime['id']; ?></td>
			<td><?php echo $anime['name']; ?></td>
			<td><?php echo $anime['photo']; ?></td>
			<td><?php echo $anime['photo_dir']; ?></td>
			<td><?php echo $anime['summary']; ?></td>
			<td><?php echo $anime['observation']; ?></td>
			<td><?php echo $anime['created']; ?></td>
			<td><?php echo $anime['modified']; ?></td>
			<td><?php echo $anime['status']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'animes', 'action' => 'view', $anime['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'animes', 'action' => 'edit', $anime['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'animes', 'action' => 'delete', $anime['id']), null, __('Are you sure you want to delete # %s?', $anime['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Anime'), array('controller' => 'animes', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Mangas'); ?></h3>
	<?php if (!empty($genre['Manga'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Author Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Photo'); ?></th>
		<th><?php echo __('Summary'); ?></th>
		<th><?php echo __('Observation'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($genre['Manga'] as $manga): ?>
		<tr>
			<td><?php echo $manga['id']; ?></td>
			<td><?php echo $manga['author_id']; ?></td>
			<td><?php echo $manga['name']; ?></td>
			<td><?php echo $manga['photo']; ?></td>
			<td><?php echo $manga['summary']; ?></td>
			<td><?php echo $manga['observation']; ?></td>
			<td><?php echo $manga['created']; ?></td>
			<td><?php echo $manga['modified']; ?></td>
			<td><?php echo $manga['status']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'mangas', 'action' => 'view', $manga['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'mangas', 'action' => 'edit', $manga['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'mangas', 'action' => 'delete', $manga['id']), null, __('Are you sure you want to delete # %s?', $manga['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Manga'), array('controller' => 'mangas', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
